Functions in php that may be used to encrypt strings [base64_encode urlencode sha1]

  • 2020-05-10 17:54:57
  • OfStack

The login principle is quite complicated, and the idea that curl will get the page and then go to post is too simple for me.

Tidy up the function of the price handling string encountered:

 
<?php 
$encryption = "username"; 
echo base64_encode ($encryption);//echo "dXNlcm5hbWU= "; 
echo "<br>"; 
echo urlencode("http://".$encryption);//echo " http%3A%2F%2Fusername "; 
echo "<br>"; 
echo sha1($encryption);//echo "249ba36000029bbe97499c03db5a9001f6b734ec" 
echo "<br>"; 
?> 

Keep track of what they look like so that you can quickly identify them when you encounter a class.

Attached, by the way I was find the script articles address: / / www ofstack. com article / 29486. htm

Related articles: